libelf: use UINT_MAX
authorJan Beulich <jbeulich@suse.com>
Wed, 7 Dec 2016 12:52:59 +0000 (13:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 7 Dec 2016 12:52:59 +0000 (13:52 +0100)
commitd4c856a57a55f888369c8933d93c6da04cd8036c
treedae5e4ec9238eaa1768c44e33084837959be17e0
parent41fe9cabf29ea15c1f8edee49326dfde705013d3
libelf: use UINT_MAX

While Xen indeed doesn't have limits.h, it still does have UINT_MAX, so
we should avoid open coding it (and perhaps - even if unlikely -
getting it wrong).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/common/libelf/libelf-private.h
xen/common/libelf/libelf-tools.c